XDispatch 0.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Typedefs | Functions
semaphore.h File Reference
#include <dispatch/base.h>

Go to the source code of this file.

Typedefs

typedef struct
dispatch_semaphore_s * 
dispatch_semaphore_t
 A counting semaphore.

Functions

dispatch_semaphore_t dispatch_semaphore_create (long value)
 Creates new counting semaphore with an initial value.
long dispatch_semaphore_wait (dispatch_semaphore_t dsema, dispatch_time_t timeout)
 Wait (decrement) for a semaphore.
long dispatch_semaphore_signal (dispatch_semaphore_t dsema)
 Signal (increment) a semaphore.

Generated on Sun Jan 27 2013 20:29:29 for XDispatch by Doxygen 1.8.0
© 2010-2013 MLBA (about | privacy) All Rights reserved.